Trilium supports seamless versioning of notes by storing snapshots ("revisions") of notes at regular intervals.

To display the revisions, press the Note menu and select Note revisions…

Interaction

Named revisions

Named revisions are a new feature of Trilium v0.103.0 which allows adding a short description of what the changes in the snapshot contain.

In the list of note revisions:

To create a named revision, either:

When revisions are saved

Revisions are saved:

Additionally, revisions can also come from somewhere else, and this is indicated via the icon of the revision:

Snapshot interval

Time interval of taking note snapshot is configurable in the Options → Other dialog. This provides a trade-off between more revisions and more data to store.

To turn off note versioning for a particular note (or sub-tree), add disableVersioning label to the note.

Maximum revisions

The limit on the number of note snapshots can be configured in the Options → Other dialog. The note revision snapshot number limit refers to the maximum number of revisions that can be saved for each note. Where -1 means no limit, 0 means delete all revisions. You can set the maximum revisions for a single note through the versioningLimit=X label.

The note limit will not take effect immediately; it will only apply when the note is modified.

You can click the Erase excess revision snapshots now button to apply the changes immediately.